#pragma once
#include "car.h"
class FamilyCar : public Car
{
public:

	FamilyCar(void)
	{
	}

	FamilyCar( string brand, int year, double purchasingPrice, double sellingPrice, int seats, int doors )
	{
		this->brand = brand;
		this->year = year;
		this->purchasingPrice = purchasingPrice;
		this->sellingPrice = sellingPrice;
		this->seats = seats;
		this->doors = doors;
	}

	~FamilyCar(void)
	{
	}

	void Print( ostream& out )
	{
		out << "FamilyCar:" << endl;
		out << "Brand - " << this->GetBrand() << endl;
		out << "Year - " << this->GetYear() << endl;
		out << "Purchasing price - " << this->GetPurchasingPrice() << " Thousand SEK" << endl;
		out << "Selling Price - " << this->GetSellingPrice() << " Thousand SEK" << endl;
		out << "Seats - " << this->GetSeats() << endl;
		out << "Doors - " << this->GetDoors() << endl << endl;
	}
};

